package com.xuecheng.api.sysetm;


import com.xuecheng.api.sysetm.model.dto.DictionaryDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(value = "系统管理",tags = "系统管理API")
public interface DictionaryApi {

    @ApiOperation(value = "查询全部数据字典信息")
    List<DictionaryDTO> queryAll();

    @ApiOperation(value = "根据code查询数据字典信息")
    @ApiImplicitParam(value = "code值")
    DictionaryDTO queryByCode(String code);
}
